![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterImage Class > CreateFromYUVData Method : CreateFromYUVData(Byte[],Int32,Int32,RasterYUVFormat,Int32,Int32,Int32) Method |
The number of bits per pixel.
Valid values are 8, 24, and 32.
public static RasterImage CreateFromYUVData( byte[] buffer, int bufferIndex, int bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
'Declaration
Public Overloads Shared Function CreateFromYUVData( _ ByVal buffer() As Byte, _ ByVal bufferIndex As Integer, _ ByVal bufferCount As Integer, _ ByVal yuvFormat As RasterYUVFormat, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal bitsPerPixel As Integer _ ) As RasterImage
'Usage
Dim buffer() As Byte Dim bufferIndex As Integer Dim bufferCount As Integer Dim yuvFormat As RasterYUVFormat Dim width As Integer Dim height As Integer Dim bitsPerPixel As Integer Dim value As RasterImage value = RasterImage.CreateFromYUVData(buffer, bufferIndex, bufferCount, yuvFormat, width, height, bitsPerPixel)
public static RasterImage CreateFromYUVData( byte[] buffer, int bufferIndex, int bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
function Leadtools.RasterImage.CreateFromYUVData(Byte[],Int32,Int32,RasterYUVFormat,Int32,Int32,Int32)( buffer , bufferIndex , bufferCount , yuvFormat , width , height , bitsPerPixel )
public: static RasterImage^ CreateFromYUVData( array<byte>^ buffer, int bufferIndex, int bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
The number of bits per pixel.
Valid values are 8, 24, and 32.
For more information, see SetYUVData